package com.chapter7;

/**
 * @author chenxd
 * @version V1.0
 * @Package com.chapter7
 * @Description: (用一句话描述该文件做什么)
 * @date 2018/8/26 10:58
 */
public class BankVersion2 {
    public static void main(String[] args) {

        final TicketWindowRunnable tw = new TicketWindowRunnable();

        Thread w1 = new Thread(tw, "一号窗口");
        Thread w2 = new Thread(tw, "二号窗口");
        Thread w3 = new Thread(tw, "三号窗口");

        w1.start();
        w2.start();
        w3.start();
    }
}
